import { createPinia } from 'pinia'
import type { App } from 'vue'
import useLoginStore from '@/store/modules/login'
const pinia = createPinia()
export function registerStore(app: App) {
  app.use(pinia)
  const loginStore = useLoginStore()
  loginStore.loginAddRouter()
}

export default registerStore
